package org.example.hospital_registration_system.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class User {
    private Integer userId;
    private String username;
    private String password;
    private Byte gender;
    private String phone;
    private String address;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date lastLogin;
    private Byte isLocked;
}